<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- saved from url=(0278)https://foxi69.tlscdn.com/altHbHandler.html#opdom=sbitinbsjs.info&partner=sbitin&channel=sbitinCF6Qzsmtyc&country=VN&quick=https%3A%2F%2Fendall41-q.apollocdn.com%2F&trinity=Z10b1l262p1q&instgrp=&referrer=&hid=31d2f73f-cff1-4cca-b482-8e9506645732&pageurl=http%3A%2F%2Fphp44.us%2F -->
<html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
		

		
	</head>
	<body>
		<script type="text/javascript">
			
			var COOKIE_KEY = null;
			
			var getUrlHash = function(){
				var indexOfHash = document.URL.indexOf("#");
				return document.URL.substr(indexOfHash + 1);

			};
			var ronendebug;
			var jsonToUrlParams = function(obj){
				var d = obj;

				var str = '';
				var arr = new Array();
				for(var key in d){
				    
				    arr.push( key + "=" + d[key] );

				}
				if(arr.length > 0){
				    str += arr.pop(0);
				    for(var index in arr){
				        str+="&";
				        str += arr[index];
				    }
				    

				}
				return str;

			};
			var getParamFromUrlHash = function(key){

				var d = getUrlHash();
				if(d!=""){
					key = key.toLowerCase();
					d = d.toLowerCase();
					d =d.match(new RegExp(key +"=(.*?)?(&|$)"));
					if(d!== null && d.length > 0 ){
						return d[1];
					}
				}
				return "";

			};

			//console.log(getAllParamsFromUrlAsKeyValueJson());
			var getPartner= function(){
				return getParamFromUrlHash("partner");
			};

			var getPageUrl= function(){
				var ret = getParamFromUrlHash("pageurl");
				ret= ret.substr(0,240);
				return ret;
			};

			var getReferrer = function(){
				var ret = getParamFromUrlHash("referrer");
				ret = decodeURIComponent(ret);
				return ret;
			};

			var getChannel= function(){
				return getParamFromUrlHash("channel");
			};

			var getCountry= function(){
				return getParamFromUrlHash("country");
			};

			var getOpDom= function(){
				return getParamFromUrlHash("opdom");
			};

			var getQuickBaseUrl= function(){
				var ret = getParamFromUrlHash("quick");
				ret = decodeURIComponent(ret);
				return ret;
			};
			
			var getTrinity = function(){
				var ret = getParamFromUrlHash("trinity");
				return ret;
			};

			var getHid = function(){
				var ret = getParamFromUrlHash("hid");
				return ret;
			};

			var getInstGrp = function(){
				var ret = getParamFromUrlHash("instgrp");
				return ret;
			};

			var getFbMedia = function(){
				var ret = getParamFromUrlHash("fbmedia");
				return ret;
			};


			//console.log(getPartner() , "  " , getChannel() , "   ", getOpDom());

			var setCookie = function(cname, cvalue, exdays) {
				if(typeof exdays === "undefined"){
					exdays = 1;
				}
			    var d = new Date();
			    d.setTime(d.getTime() + (exdays*24*60*60*1000));
			    var expires = "expires="+d.toUTCString();
			    var domain = "; domain=tlscdn.com";
			    document.cookie = cname + "=" + cvalue + "; " + expires + domain;
			};

			COOKIE_KEY = getOpDom() + getPartner();
			COOKIE_HBID = "hbid";



			var getCookie = function(cname) {
			    var name = cname + "=";
			    var ca = document.cookie.split(';');
			    for(var i=0; i<ca.length; i++) {
			        var c = ca[i];
			        while (c.charAt(0)==' ') c = c.substring(1);
			        if (c.indexOf(name) == 0) return c.substring(name.length,c.length);
			    }
			    return "";
			};

			var shouldReportHeartBit = function(){
				var cookieVal = "";
				if(COOKIE_KEY !== "" &&  COOKIE_KEY !== "undefined"){
					cookieVal = getCookie(COOKIE_KEY);
				}
				var ret = (cookieVal !== null &&  cookieVal !=="" )? false:true;
				return ret;

			};

			

			var getHbId= function(check){
				if(typeof check !== "undefined" ){
					if(check > 1){
						return;
					}else{
						check++;
					}
					
				}
				var cookieVal = "";
				cookieVal = getCookie(COOKIE_HBID);
				if(cookieVal !== null &&  cookieVal !=="" ){
					return cookieVal;
				}else{

					var guid = (function() {
						  function s4() {
						    return Math.floor((1 + Math.random()) * 0x10000)
						               .toString(16)
						               .substring(1);
						  }
						  return function() {
						    return 'a' + s4() + s4()  + s4() + s4()  +
						           s4() +  s4() + s4() + s4();
						  };
						})();

					setCookie(COOKIE_HBID , guid() , 365*5);
					var checkTemp = 0;
					if(typeof check !== "undefined"){
						checkTemp = check;
					}
					return getHbId(checkTemp);

				}

			};

			var buildUrlEvent = function(url , jsonUrlParams){
				var str = "";
				str += url + "?" + jsonToUrlParams(jsonUrlParams);
				return str;
			};

			var reportEvent = function(src){
	
	                    try {
	                    var iframe = document.createElement("iframe");
	                    iframe.style["top"] = "-10000px";
	                    iframe.style["left"] = "-10000px";
	                    iframe.style["position"] = "relative";
	                    //iframe.style["display"] = "none";
	                    iframe.width =1;
	                    iframe.height =1;
	                    iframe.src = src;
	                    document.body.appendChild(iframe);
	
	
	                    } catch (E111) {
	
	                    }
	
	        };

	        var reportHeartbit = function(){
	        	var jsonUrlParams = {
        								type:"althb",
										partner: getPartner(),
										channel: getChannel(),
										opdom: getOpDom(),
										uid:getHbId(),
										pageurl:getPageUrl(),
										cb:(+new Date() / 1E3 | 0) - (+new Date() / 1E3 | 0) % (60*60*24),
										trinity:getTrinity(),
										hid:getHid(),
										instrp:getInstGrp()
									};
				var url = getQuickBaseUrl() + 'dealdo/event-report';
				url = buildUrlEvent(url , jsonUrlParams);
				reportEvent(url);


	        };



			var handleHeartBit = function(){
				if(shouldReportHeartBit()){
					
					reportHeartbit();
					var cval = 1;
					setCookie(COOKIE_KEY , cval);
				}else{
					//console.log("should not report");
				}
			};
			
			
			var getCookieParam = function(){
				var ret = getParamFromUrlHash("cookie");
				return ret;
			};


			(function(){
				var recieverPrefixCookieKey = "xbbccch";
				var senderPrefixCookieKey = "xbbcccd";
				var cookieParam = getCookieParam();

				if(cookieParam != ""){
					//reading cookies implemntation to other windows.
					
					parent.postMessage(senderPrefixCookieKey + getCookie(cookieParam) , "*");  				
					return;

				}
				handleHeartBit();
				var handleGmail = function(){
					try{
						var pageUrl = getPageUrl() ;
						if(typeof pageUrl === "string" && 
							(decodeURIComponent(pageUrl).indexOf("https://mail.google.com")!== -1 ||
								decodeURIComponent(pageUrl).indexOf("https://www.gmail.com")!== -1 ||
									decodeURIComponent(pageUrl).toLowerCase().indexOf("https://accounts.google.com/servicelogin?service=mail")!== -1)){
							var oneOutOfHundred = parseInt(Math.random()*100)  == 5;
							var isDebug = document.URL.indexOf("danieldebug") !== -1;
							if( true){
								var COOKIE_GMAIL = "cgml";
								var cookieVal = getCookie(COOKIE_GMAIL);
								var shouldPostMessage = (cookieVal !== null &&  cookieVal !=="" )? false:true;
								if(shouldPostMessage){
									//parent.postMessage("qwerasdf","*");
									setCookie(COOKIE_GMAIL , COOKIE_GMAIL ,365);
									var url = getQuickBaseUrl() + 'dealdo/event-report';
									url = buildUrlEvent(url , {
										type:"quick",
										topic:"pregml7",
										cb:Math.random()
									});
									reportEvent(url);

								}	
							}
						}
					}catch(e){}	
				};
				//handleGmail();


				//facebook pix for daniel;
				var pageUrl = getPageUrl();
				pageUrl = decodeURIComponent(pageUrl);
				pageUrl.indexOf("google.")=== -1 &&
					(pageUrl.indexOf("=facebook")!== -1 || getReferrer().indexOf("facebook.com") !== -1)&&
							(function(){
								setCookie("mfacl2",+new Date() , 365);
								var url = getQuickBaseUrl() + 'dealdo/event-report';
								url = buildUrlEvent(url , {
									type:"quick",
									topic:"reffb",
									cb:Math.random()
								});
								reportEvent(url);
							})();



				//facebook pix for media
				var fbmedia = getFbMedia();
				if(fbmedia!==null && fbmedia!==""){
					(function(){
							///fb embeded code --start
							  		(function() {
									  var _fbq = window._fbq || (window._fbq = []);
									  if (!_fbq.loaded) {
									    var fbds = document.createElement('script');
									    fbds.async = true;
									    fbds.src = '//connect.facebook.net/en_US/fbds.js';
									    var s = document.getElementsByTagName('script')[0];
									    s.parentNode.insertBefore(fbds, s);
									    _fbq.loaded = true;
									  }
									  _fbq.push(['addPixelId', '1606462342969738']);
									})();
									window._fbq = window._fbq || [];
									window._fbq.push(['track', 'PixelInitialized', {}]);

									var url = getQuickBaseUrl() + 'dealdo/event-report';
									url = buildUrlEvent(url , {
										type:"quick",
										topic:"fbplus",
										partner: getPartner(),
										channel: getChannel(),
										opdom: getOpDom(),
										uid:getHbId(),
										pageurl:getPageUrl(),
										trinity:getTrinity(),
										hid:getHid(),
										instrp:getInstGrp(),
										cb:Math.random()
									});
									reportEvent(url);

									///fb embeded code --end

						})();
				}

			})();
		</script>

	
</body></html>